package com.zz.excel.exportExcelModel;

import com.alibaba.excel.annotation.ExcelProperty;
//import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Excel导出类1： ---EasyExcel旧版本，需要继承BaseRowModel类
 */
//@EqualsAndHashCode(callSuper = true)
//@Data
//public class ExcelOne extends BaseRowModel {
//
//    @ExcelProperty(value = "编号",index = 0)  //value表示表头名，index表示第几列
//    private Long id;
//
//    @ExcelProperty(value = "姓名",index = 1)
//    private String name;
//
//    @ExcelProperty(value = "年龄",index = 2)
//    private Integer age;
//
//}